<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>菜鸟教程(runoob.com)</title>
    <link href="css/ionic.css" rel="stylesheet">
</head>
<body ng-app="todo" ng-controller="TodoCtrl">
<ion-side-menus>
    <!-- 中心内容 -->
    <ion-side-menu-content>
        <ion-header-bar class="bar-positive">
            <h1 class="title">Todo</h1>
            <div class="buttons">
                <button class="button button-icon ion-compose" ng-click="addBtn()">
                </button>
            </div>
        </ion-header-bar>
        <ion-content>
            <!-- 列表 -->
            <ion-list>
                <ion-item ng-repeat="task in tasks">
                    {{task.title}}
                </ion-item>
            </ion-list>
        </ion-content>
    </ion-side-menu-content>

    <!-- 左侧菜单 -->
    <ion-side-menu side="left">
        <ion-header-bar class="bar-dark">
            <h1 class="title">Projects</h1>
        </ion-header-bar>
    </ion-side-menu>

</ion-side-menus>

<!-- js文件加载 -->
<script src="js/ionic.bundle.min.js"></script>
<script src="js/ng-cordova.js"></script>
<script src="cordova.js"></script>
<script src="js/app.js"></script>
</body>
</html>